/* VRS Theme CSS - Based on members/CSS/styles.css */
/* Vintage Radio Shows aMember Theme */

/* Import form styles */
@import url("form.css");

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%; /* Base font size for rem/em */
}

body {
    background: url("../img/sm_background.jpg") repeat-x top left #8B4B04;
    margin: 0;
    padding: 0;
    font: normal normal 120%/1.25 Arial, Helvetica, sans-serif;
    color: #412713;
}

/* Container approach like members area */
.container {
    max-width: 742px; /* Matches original table width */
    margin: 0 auto;
}

/* Override aMember's default layout structure */
.am-layout {
    max-width: 742px;
    margin: 0 auto;
    background-color: #8B4B04;
}

/* Header */
.am-header {
    width: 100%;
    background-color: #8B4B04;
}

.am-header-content-wrapper {
    width: 100%;
    max-width: 688px;
    margin: 0 auto;
    background-color: #E9DFBB;
    position: relative;
}

.am-header-content-wrapper::before,
.am-header-content-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 27px;
    background-repeat: repeat-y;
}

.am-header-content-wrapper::before {
    left: -27px;
    background-image: url("../img/left-side.gif");
}

.am-header-content-wrapper::after {
    right: -27px;
    background-image: url("../img/right-side.gif");
}

.am-header-logo-wrapper img,
#header-image,
.am-header-content-logo {
    width: 100%;
    height: auto;
    max-height: 151px; /* Matches original */
    position: relative;
    background-color: #8B4B04; /* Matches body to cover gaps */
    display: block;
}

/* Main Content - styled like members area main */
.am-body {
    background-color: #8B4B04;
    padding: 0;
}

.am-body-content-wrapper {
    position: relative;
    width: 100%;
    max-width: 688px;
    margin: 0 auto;
    padding-top: 0; /* without this we get a big gap */
    padding-bottom: 15px;
    padding-right: 0;
    padding-left: 0;
    background-color: #E9DFBB;
}

.am-body-content-wrapper::before,
.am-body-content-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    height: 100%;
    width: 27px;
    background-repeat: repeat-y;
}

.am-body-content-wrapper::before {
    left: -27px;
    background-image: url("../img/left-side.gif");
}

.am-body-content-wrapper::after {
    right: -27px;
    background-image: url("../img/right-side.gif");
}

/* Typography - matching members area */
.Text-Description {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    line-height: 1.15;
    color: #000;
}

h1, h2, h3 {
    color: #412713;
    font-weight: bold;
    margin-bottom: 12px;
}

h1 {
    font-family: Trebuchet, Arial, Helvetica, sans-serif;
    font-size: 40px;
    letter-spacing: -.75px;
    text-align: center;
}

h2 {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 1.5em;
    line-height: 25px;
    padding-left: 5px;
    padding-bottom: 4px;
}

p {
    padding-left: 5px;
    padding-bottom: 12px;
    font-size: 1em;
    text-indent: 0;
}

/* aMember Common Styles */
.am-common {
    font-family: Arial, Helvetica, sans-serif;
    color: #412713;
}

.am-common legend {
    color: #412713;
}

.am-common a {
    color: #0066cc;
    text-decoration: none;
}

.am-common a:hover {
    color: #444466;
    text-decoration: underline;
}

/* Member Dashboard Layout */
.am-layout-two-coll {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.am-coll-left,
.am-coll-right {
    flex: 1;
}

.am-widget {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
    overflow: hidden;
}

.am-widget h2 {
    background-color: #8B4B04;
    color: white;
    padding: 10px 15px;
    margin: 0;
    font-size: 16px;
}

.am-widget .am-block {
    padding: 15px;
}

/* Member Navigation */
.am-header-menu {
    background-color: #E9DFBB;
    padding: 10px 0;
}

.am-header-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.am-header-menu li {
    position: relative;
}

.am-header-menu a {
    color: #412713;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 15px;
}

.am-header-menu a:hover {
    color: #444466;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Footer - matching members area */
.am-footer {
    background-color: #8B4B04;
    text-align: center;
    padding: 0;
    margin-top: auto;
}

.am-footer-content-wrapper {
    width: 100%;
    max-width: 688px;
    margin: 0 auto;
    background-color: #E9DFBB;
    position: relative;
    padding: 20px;
}

.am-footer-content-wrapper::before,
.am-footer-content-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 27px;
    background-repeat: repeat-y;
}

.am-footer-content-wrapper::before {
    left: -27px;
    background-image: url("../img/left-side.gif");
}

.am-footer-content-wrapper::after {
    right: -27px;
    background-image: url("../img/right-side.gif");
}

.am-footer a {
    color: #0066cc;
    text-decoration: none;
    margin: 0 5px;
}

.am-footer a:hover {
    text-decoration: underline;
}

/* Form Styling */
.am-form {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.am-form fieldset {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.am-form legend {
    font-weight: bold;
    padding: 0 10px;
    color: #412713;
}

.am-form .am-row {
    margin-bottom: 15px;
}

.am-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #412713;
}

.am-form input[type="text"],
.am-form input[type="email"],
.am-form input[type="password"],
.am-form select,
.am-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
}

.am-form input[type="text"]:focus,
.am-form input[type="email"]:focus,
.am-form input[type="password"]:focus,
.am-form select:focus,
.am-form textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.3);
}

.am-form input[type="submit"],
.am-form button {
    background-color: #0066cc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.am-form input[type="submit"]:hover,
.am-form button:hover {
    background-color: #0052a3;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #8B4B04;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Override any conflicting aMember styles */
.am-main {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive Design */
@media (max-width: 742px) {
    .container,
    .am-layout,
    .am-header-content-wrapper,
    .am-body-content-wrapper,
    .am-footer-content-wrapper {
        max-width: 100%;
        padding: 10px;
    }
    
    .am-layout-two-coll {
        flex-direction: column;
    }
    
    .am-header-menu ul {
        flex-direction: column;
        gap: 10px;
    }
    
    /* Hide side borders on mobile */
    .am-header-content-wrapper::before,
    .am-header-content-wrapper::after,
    .am-body-content-wrapper::before,
    .am-body-content-wrapper::after,
    .am-footer-content-wrapper::before,
    .am-footer-content-wrapper::after {
        display: none;
    }
}

/* Additional member-specific styles */
.am-page-profile {
    background-color: #E9DFBB;
}

.am-page-main {
    background-color: #E9DFBB;
}

/* Center utility class */
.center {
    text-align: center;
    margin: 10px 0;
}

/* Show/hide toggle styles */
.toggle {
    background: url("../img/brown_sprite.png") no-repeat 0 -14px;
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
    top: 5px;
    left: 5px;
    cursor: pointer;
}

.off .hide_me {
    display: none;
}

.on .toggle {
    background-position: 0 9px;
}

/* Error and success messages */
.am-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.am-info {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}